package com.powernode.mapper;

import com.powernode.domain.Product;

import java.util.List;

/**
* @author Administrator
* @description 针对表【t_product(产品表)】的数据库操作Mapper
* @createDate 2025-02-18 10:09:27
* @Entity com.powernode.domain.Product
*/
public interface ProductMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);

    List<Product> selectAll();

    Product selectProductByName(String productName);
}
